package net.eicp.nada;

public class Fourteen {
	static void comp (String a, String b){
		System.out.println(a + " == " + b + " " + (a == b));
		System.out.println(a + " != " + b + " " + (a != b));
		System.out.println(a + " equals " + b + " " + a.equals(b));
	}
	public static void main (String[] args) {
		String a = new String("test");
		String b = new String("test");
		String c = new String("lynx");
		comp(a,b);
		comp(a,c);
	}
}
